package com.ruoyi.points.service;

import java.util.List;
import com.ruoyi.points.domain.CommunityPointsLog;

/**
 * 积分流水记录Service接口
 * 
 * @author xianyu
 * @date 2025-04-03
 */
public interface ICommunityPointsLogService 
{
    /**
     * 查询积分流水记录
     * 
     * @param id 积分流水记录主键
     * @return 积分流水记录
     */
    public CommunityPointsLog selectCommunityPointsLogById(Long id);

    /**
     * 查询积分流水记录列表
     * 
     * @param communityPointsLog 积分流水记录
     * @return 积分流水记录集合
     */
    public List<CommunityPointsLog> selectCommunityPointsLogList(CommunityPointsLog communityPointsLog);

    /**
     * 新增积分流水记录
     * 
     * @param communityPointsLog 积分流水记录
     * @return 结果
     */
    public int insertCommunityPointsLog(CommunityPointsLog communityPointsLog);

    /**
     * 修改积分流水记录
     * 
     * @param communityPointsLog 积分流水记录
     * @return 结果
     */
    public int updateCommunityPointsLog(CommunityPointsLog communityPointsLog);

    /**
     * 批量删除积分流水记录
     * 
     * @param ids 需要删除的积分流水记录主键集合
     * @return 结果
     */
    public int deleteCommunityPointsLogByIds(Long[] ids);

    /**
     * 删除积分流水记录信息
     * 
     * @param id 积分流水记录主键
     * @return 结果
     */
    public int deleteCommunityPointsLogById(Long id);
}
